package cleancode.controller.interpreter;

import cleancode.model.Operation;

/**
 * Information of command
 */
public class CommandInfo
{
    private String command;

    private Operation operation;

    private String errorMessage;

    private Object[] args;

    public CommandInfo( String command )
    {
        this.command = command;
    }

    public String getCommand()
    {
        return command;
    }

    public void setCommand( String command )
    {
        this.command = command;
    }

    public Operation getOperation()
    {
        return operation;
    }

    public void setOperation( Operation operation )
    {
        this.operation = operation;
    }

    public String getErrorMessage()
    {
        return errorMessage;
    }

    public void setErrorMessage( String errorMessage )
    {
        this.errorMessage = errorMessage;
    }

    public Object[] getArgs()
    {
        return args;
    }

    public void setArgs( Object[] args )
    {
        this.args = args;
    }

}
